<head>
    <link rel="stylesheet" href="./styles/style.css">
</head>
<h2>Current expances</h2>
<div class="table-body">       
    <div class="row">
        <p>Date</p>
        <p>Description</p>
        <p>Amount</p>
    </div> 
    <?php
    require_once('fileOpener.php');
    require_once('./app/app.php');
    require_once('result_output.php');

    $table = openTable('./transaction files/table.csv');

    $income = 0;
    $expence = 0;    

    parseCsv($table, $income, $expence);

    $net_total = calculateNetTotal($income, $expence);    

    showSummary($income, $expence, $net_total);
    ?>
</div>